<script type="text/javascript">
	alert("<?=$msg;?>");
	window.location.href="<?=$url;?>"
</script>